enum LoginType {
  userPassword,
  phoneCode,
}

Map<LoginType, String> loginTypeMap = {
  LoginType.phoneCode: '账号密码登录',
  LoginType.userPassword: '手机验证码登录',
};